/*
 * @Description: plugins
 * @Author: wws1993
 * @Date: 2020-12-01 15:59:00
 * @LastEditTime: 2020-12-01 16:21:26
 * @LastEditors: wws1993
 * @FilePath: \todoManager\src\components\Base\index.ts
 */

import Base404 from './404.vue';
import BaseLoading from './Loading.vue';

const components: any = {
  Base404,
  BaseLoading,
};

const install: any = (vue: any) => {
  for (const key in components) {
    if (components[key]) vue.component(key, components[key]);
  }
};

export default {
  install,
};
